package cn.broadsense.biz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 图层区域点位
 * @TableName t_layer_area_channel
 */
@TableName(value ="t_layer_area_channel")
@Data
public class LayerAreaChannel implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 区域ID
     */
    private Long layerAreaId;

    /**
     * 点位ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long channelId;

    /**
     * 点位名称
     */
    private String channelName;

    /**
     * 点位编码
     */
    private String channelCode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}